<template>
  <div :class="wrapClass">
    <img :style="currentStyle"
         v-bind="$attrs"
         v-on="$listeners"
         @load="load($event)"
         @error="error($event)" />
  </div>
</template>
<script type="text/ecmascript-6" src="./index.js"></script>
